//
//  ZPBRadioModel.m
//  WZLProduct
//
//  Created by boys on 16/3/28.
//  Copyright © 2016年 HaiTeng. All rights reserved.
//

#import "ZPBRadioModel.h"
#import "ZPBRadioSectionModel.h"
@implementation ZPBRadioModel


- (void)setValue:(id)value forKey:(NSString *)key {
    [super setValue:value forKey:key];
    NSMutableArray *arr = [NSMutableArray array];
    for (NSDictionary *dic in value[@"data"]) {
        ZPBRadioSectionModel *model = [[ZPBRadioSectionModel alloc] init];
        [model setValuesForKeysWithDictionary:dic];
        [arr addObject:model];
    }
    self.data = [NSArray arrayWithArray:arr];
    
}


- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    
}

@end
